#include <iostream>

using namespace std;

class student_t {
  public:
    //成员变量
    const char *name;
    int         age;
    float       score;
    //成员函数
    void say()
    {
        cout << name << "的年龄是" << age << "，成绩是" << score << endl;
    }
};

int main()
{
    // 动态创建一个对象
    student_t *p1 = new student_t;
    p1->name = "bbb";
    p1->age = 22;
    p1->score = 95.9f;
    p1->say();

    delete p1;
    return 0;
}